load("//tools/bzl:junit.bzl", "junit_tests")

junit_tests(
    name = "gpg_tests",
    srcs = glob(["**/*.java"]),
    tags = ["no_windows"],
    visibility = ["//visibility:public"],
    runtime_deps = ["//java/com/google/gerrit/lucene"],
    deps = [
        "//java/com/google/gerrit/entities",
        "//java/com/google/gerrit/extensions:api",
        "//java/com/google/gerrit/gpg",
        "//java/com/google/gerrit/gpg/testing:gpg-test-util",
        "//java/com/google/gerrit/lifecycle",
        "//java/com/google/gerrit/server",
        "//java/com/google/gerrit/server/schema",
        "//java/com/google/gerrit/testing:gerrit-test-util",
        "//lib:guava",
        "//lib:jgit",
        "//lib:jgit-junit",
        "//lib/bouncycastle:bcpg",
        "//lib/bouncycastle:bcpg-neverlink",
        "//lib/bouncycastle:bcprov",
        "//lib/bouncycastle:bcprov-neverlink",
        "//lib/flogger:api",
        "//lib/guice",
        "//lib/guice:guice-assistedinject",
        "//lib/truth",
    ],
)
